package com.winhxd.b2c.customer.dao;


import com.github.pagehelper.Page;
import com.winhxd.b2c.common.domain.common.PagedCondition;
import com.winhxd.b2c.common.domain.customer.model.CustomerDeliveryInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerDeliveryInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CustomerDeliveryInfo record);

    int insertSelective(CustomerDeliveryInfo record);

    CustomerDeliveryInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomerDeliveryInfo record);

    int updateByPrimaryKey(CustomerDeliveryInfo record);

    List<CustomerDeliveryInfo> selectAllDeliveryInfo();

    Page<CustomerDeliveryInfo> selectAllDeliveryInfoToPage(PagedCondition condition);

}